package com.tjh1.transaction;

import com.tjh1.util.JDBCUtils;
import org.junit.jupiter.api.Test;

import java.sql.Connection;

/**
 * @ClassName ConnectionTest
 * @Description : 测试连接
 * @Author tang'jia'hao
 * @Date 2021/9/21 17:53
 * @Version 1.0
 **/
public class ConnectionTest {

    @Test
    public void testGetConnection() throws Exception {
        Connection conn = JDBCUtils.getConnection();
        System.out.println("conn = " + conn);
    }
}
